package db;
/**
 * Simple object used as list item in combo box.
 * Contains DBTypeEnum as key and a String to display.
 * @author Jolle
 * @version 1.0.0
 */
import dao.DBTypeEnum;

public class HostName {
	
	DBTypeEnum type;
	String name;

	public HostName(DBTypeEnum type, String name) {
		this.type = type;
		this.name = name;
	}

	public DBTypeEnum getType() {
		return this.type;
	}

	public String getName() {
		return this.name;
	}
	
	@Override
	public String toString() {
		return this.name;
	}
}